package com.usian.security.exception;

import lombok.Data;

@Data
public class CustomException extends RuntimeException {
  private String message;

  public CustomException(String message){
      super(message);
      this.message=message;
  }
  public CustomException(String message,Throwable cause){
      super(message,cause);
      this.message=message;
  }
}
